package com.zs.demo111.web;

import com.zs.demo111.biz.ParamBiz;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
//属性动态刷新
@RefreshScope
public class ParamAction {
    @Resource
    private ParamBiz paramBiz;

    @RequestMapping("paramBiz")
    public ParamBiz getParamBiz(){
        return paramBiz;
    }
}
